package com.vizhuo.client.business.appmanage.vo;

import java.io.Serializable;
import java.util.Date;

import com.vizhuo.client.base.AbstractVo;

/**
 * @author YuanWenLong 作者 E-mail: yuanwenlong2010@163.com
 * @date 创建时间：2015年6月29日 下午4:10:58
 * @version 1.0
 * @parameter
 * @since
 * @return
 */
public class AppVersionVo extends AbstractVo implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = -2709486367258398816L;

    private int id;

    private String name;

    private String version;

    private int type;

    private String filePath;

    // 中间版本的url，需要和flagNew配合使用，如果flagNew属性不存在，则表名是就客户端，会直接下载此url的apk（中间版本）
    private String fileURL;

    private String fileName;

    private Date createDatetime;

    private String remarks;

    private String creatorName;

    private Date effectiveDatetime;

    private boolean force;

    /**
     * 分客户端的时候，中间版本开始添加此flagNew属性，由于就客户端没有此属性，所以此属性区分新旧客户端----------------------
     * - --flagNew 属性不存在为老客户端； flagNew = 1为第一次中间版本以后的客户端。需要请求检测新客户端的方法，检测升级
     */
    private Integer flagNew = 1;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version == null ? null : version.trim();
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Date getCreateDatetime() {
        return createDatetime;
    }

    public void setCreateDatetime(Date createDatetime) {
        this.createDatetime = createDatetime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName == null ? null : creatorName.trim();
    }

    public String getFileURL() {
        return fileURL;
    }

    public void setFileURL(String fileURL) {
        this.fileURL = fileURL;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public boolean isForce() {
        return force;
    }

    public void setForce(boolean force) {
        this.force = force;
    }

    public Date getEffectiveDatetime() {
        return effectiveDatetime;
    }

    public void setEffectiveDatetime(Date effectiveDatetime) {
        this.effectiveDatetime = effectiveDatetime;
    }

    public Integer getFlagNew() {
        return flagNew;
    }

    public void setFlagNew(Integer flagNew) {
        this.flagNew = flagNew;
    }

}
